gsk: Scale glyphs in the glyph cache
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 17:13:31 +0000 (13:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 17:13:31 +0000 (13:13 -0400)
commita0bbd14325db6b36083e7b79e9938b997d060767
treece0695a624624ced678ce97fd82d887c1cc1ea44
parent6560961c5967c8c6251842347cc31679c1a56b77
gsk: Scale glyphs in the glyph cache

Pass a scale factor when caching glyphs or looking them
up in the cache. The glyphs in the cache are rendered
with subpixel precision determined by the scale. Update
all callers to pass a scale factor according to the window
scale. This lets us render crisp glyphs on hidpi systems.
gsk/gskvulkancolortextpipeline.c
gsk/gskvulkancolortextpipelineprivate.h
gsk/gskvulkanglyphcache.c
gsk/gskvulkanglyphcacheprivate.h
gsk/gskvulkanrenderer.c
gsk/gskvulkanrendererprivate.h
gsk/gskvulkanrenderpass.c
gsk/gskvulkantextpipeline.c
gsk/gskvulkantextpipelineprivate.h